package com.happycat.console.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.happycat.console.commen.aspactj.lang.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


/**
 * 渠道管理对象 cat_channel
 * 
 * @author verne
 * @date 2020-07-18
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("cat_channel")
@ApiModel(value="渠道管理对象", description="渠道管理对象数据")
public class CatChannel implements Serializable {

private static final long serialVersionUID=1L;


    /** ID */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 渠道编号 */
    @Excel(name = "渠道编号")
    @ApiModelProperty(value = "渠道编号")
    private String channelNumber;

    /** 归属商务 */
    @Excel(name = "归属商务")
    @ApiModelProperty(value = "归属商务")
    private String parentBusiness;

    /** 渠道名称 */
    @Excel(name = "渠道名称")
    @ApiModelProperty(value = "渠道名称")
    private String name;

    /** 联系人 */
    @Excel(name = "联系人")
    @ApiModelProperty(value = "联系人")
    private String contactPerson;

    /** 联系方式 */
    @Excel(name = "联系方式")
    @ApiModelProperty(value = "联系方式")
    private String contactPhone;

    /** 微信号 */
    @Excel(name = "微信号")
    @ApiModelProperty(value = "微信号")
    private String wechat;

    /** 后台账号 */
    @Excel(name = "后台账号")
    @ApiModelProperty(value = "后台账号")
    private String managerAccount;

    /** 后台账号密码 */
    @Excel(name = "后台账号密码")
    @ApiModelProperty(value = "后台账号密码")
    private String managerPwd;

    /** 支付宝名字 */
    @Excel(name = "支付宝名字")
    @ApiModelProperty(value = "支付宝名字")
    private String aliName;

    /** 支付宝账号 */
    @Excel(name = "支付宝账号")
    @ApiModelProperty(value = "支付宝账号")
    private String aliAccount;

    /** 身份证号 */
    @Excel(name = "身份证号")
    @ApiModelProperty(value = "身份证号")
    private String proveNumber;

    /** 结算方式 */
    @Excel(name = "结算方式")
    @ApiModelProperty(value = "结算方式")
    private String settle;

    /** 结算单价 */
    @Excel(name = "结算单价")
    @ApiModelProperty(value = "结算单价")
    private BigDecimal settleUnitPrice;

    /** 聊天室分佣比 */
    @Excel(name = "聊天室分佣比")
    @ApiModelProperty(value = "聊天室分佣比")
    private BigDecimal chatroomCommissionRatio;

    /** 其他分佣比 */
    @Excel(name = "其他分佣比")
    @ApiModelProperty(value = "其他分佣比")
    private BigDecimal otherCommissionRatio;

    /** 总注册量限制 */
    @Excel(name = "总注册量限制")
    @ApiModelProperty(value = "总注册量限制")
    private Integer maxRegister;

    /** 创建时间 */
    @Excel(name = "创建时间" , width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createDate;

    /** 创建人 */
    @ApiModelProperty(value = "创建时间")
    private String createBy;

    /** 状态 */
    @Excel(name = "状态")
    @ApiModelProperty(value = "状态")
    private Integer status;
}
